package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(tags = "课程教师Api")
public interface CourseTeacherApi {
    @ApiOperation("添加或修改课程教师")
    CourseTeacherDTO createOrModifyCourseTeacher(CourseTeacherDTO dto);

    @ApiOperation("按课程id分页查询课程教师")
    List<CourseTeacherDTO> queryCourseTeacherList(Long courseBaseId);

    @ApiOperation("删除教师")
    @ApiImplicitParam(name = "courseBaseId",
            value = "课程id值",
            required = true,
            paramType = "path")
    void removeTeacher(Long courseBaseId, Long courseTeacherId);


}
